package com.qf.index;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.collection.ConcurrentHashSet;
import cn.hutool.core.io.FileUtil;
import cn.hutool.core.util.NumberUtil;
import cn.hutool.db.Db;
import cn.hutool.db.Entity;
import cn.hutool.json.JSONUtil;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import org.springframework.expression.Expression;
import org.springframework.expression.ExpressionParser;
import org.springframework.expression.spel.standard.SpelExpressionParser;

import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class d5 {
    /**
     * 这是使用阿里的通义，使用4个账号，区分方法是把自增主键的后两位分为4段，0-24；25-49；50-74；75-99，均分一起跑。
     * 贾新志 2024.12.28
     * Bearer sk-c65ee8baf0c440238e51f74495107da3 公司[1]
     * Bearer sk-68b83bd45df542ada3d7882e116f63f0 JXZ[2]
     * Bearer sk-78636476472d45a1835795ca82c3d7d6 GCR[3]
     * Bearer sk-06a0675779c944b6a4d5b893cb3cc89a ZFL[4]
     */
    public static void main(String[] args) throws SQLException {
        String user = "Bearer sk-06a0675779c944b6a4d5b893cb3cc89a";


        String newDataName = "scholar_25_02.";
        String summaryFundTable = newDataName + "unified_search_summary_0120_fund";
        String summaryTable = newDataName + "unified_search_summary_0120_old";
        String titleTransTable = newDataName + "basic_fund_guidelines_title_trans";

        Test.insertTitleTransTable(summaryTable, "id", "ut`,`title`,`cn_ti`,`year`,`pmId", 81, 100, titleTransTable, summaryFundTable);
    }


}
